﻿<UserControl
    x:Class="EString.Controls.GridSplitterES"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EString.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="5">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="ms-appx:///Symmetry/Resources/GlobalResources.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>

    <Grid>
    	<VisualStateManager.VisualStateGroups>
    		<VisualStateGroup x:Name="VisualStateGroup">
    			<VisualState x:Name="Normal"/>
    			<VisualState x:Name="MouseOver">
    				<Storyboard>
    					<DoubleAnimation Duration="0" To="0.9" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
    					<DoubleAnimation Duration="0" To="0.9" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="dragBox" d:IsOptimized="True"/>
    				</Storyboard>
    			</VisualState>
    		</VisualStateGroup>
    	</VisualStateManager.VisualStateGroups>
        <Rectangle x:ConnectionId='1' x:Name="dragBox" Fill="{StaticResource NormalBrush}"                                                ManipulationMode="All" Opacity="0.6"                                                                                                                         />
        <Rectangle x:ConnectionId='2' x:Name="rectangle" Fill="{StaticResource NormalBrush}" Height="100" VerticalAlignment="Center" Margin="-15,0"                                               ManipulationMode="TranslateX" Opacity="0.6" Width="25"                                                                                                                              />
    </Grid>
</UserControl>

